<?php

namespace App\Api\Service\Dictionary\Controllers;

use Framework\BaseClass\Api\Controller;
use App\Eloquent\Ygt\Dictionary;

class IndexController extends Controller
{

    public function getUnitList(){
        return Dictionary::where('type','unit')->select('id','value')->get();
    }

}